package com.cc8w.admins.service;


import com.cc8w.admins.mapper.PermssionMapper;
import com.cc8w.admins.mapper.UserMapper;
import com.cc8w.entity.UserEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service("userService")
@Transactional
public class UserService {
    @Autowired
    @Qualifier("userMapper")
    private UserMapper userMapper;

    public UserEntity queryUserByUserName(String userName){
       return userMapper.queryUserByUserName(userName);
    }

}
